// 自定义的项目中心
import lazyLoading from './lazyLoading'

export default {
  name: 'Product',
  path: '/product',
  meta: {
    icon: 'fa-tasks',
    expanded: false,
    auth: true,
    show: true,
    label: 'Product'
  },
  component: lazyLoading('product', true),

  children: [
    {
      name: 'Product',
      path: '',
      component: lazyLoading('product/Default'),
      meta: {
        link: 'product/Default.vue',
        show: true
      }
    },
    {
      name: 'Article',
      path: 'article',
      component: lazyLoading('product/Article'),
      meta: {
        link: 'product/Article.vue'
      }
    },
    {
      name: 'Add',
      path: 'add/article',
      component: lazyLoading('product/Add'),
      meta: {
        link: 'product/Add.vue',
        show: false
      }
    },
    {
      name: 'Theory',
      path: 'theory',
      component: lazyLoading('product/Theory'),
      meta: {
        link: 'product/Theory.vue',
        show: true
      }
    }
  ]
}
